<div id="steps" class="form complex">
<?
$value = array(
		'id_peserta'		=> $id_peserta,
		'nama_peserta'		=> $nama_peserta,
		'pembayaran_via'	=> $pembayaran_via,
		'bank'			=> $bank,
		'tgl'			=> $tanggal,
		'bln'			=> $bulan,
		'thn'			=> $tahun,
		'jumlah'		=> $jumlah,
		'status_field'		=> "READONLY",
		'act_form'		=> "peserta/peserta/pembayaran/".$id_peserta.""
	);
?>

<?= form_open($value["act_form"]); ?>

	<form>
		<fieldset class="step">
			<p>
				<label>Nama Peserta</label>
				<input <?=$value['status_field']?> id="nama" name="nama" type="text" value="<?=$value['nama_peserta']?>" tabindex="1" />
			</p>
			</br>
			<p>	
				<label>Tanggal Pembayaran</label>
				<input style="width: 30px;margin-right:5px;" id="element_4_2" name="tgl" size="2" maxlength="2" value="<?=$value['tgl']?>" type="text">
				<input style="width:30px;margin-right:5px;" id="element_4_1" name="bln" size="2" maxlength="2" value="<?=$value['bln']?>" type="text">
				<input style="width: 80px;" id="element_4_3" name="thn" size="4" maxlength="4" value="<?=$value['thn']?>" type="text">

				<img id="cal_img_4" src="<?=base_url();?>images/form/calendar.gif" alt="Pick a date.">	
			
				<script type="text/javascript">
					Calendar.setup({
					inputField	 : "element_4_3",
					baseField    : "element_4",
					displayArea  : "calendar_4",
					button		 : "cal_img_4",
					ifFormat	 : "%B %e, %Y",
					onSelect	 : selectDate
					});
				
				</script>
			</p>
			</br>
			<p>
				<label>Bank</label>
				<?
				unset($options);
				$options['BCA'] = "BCA";
				$options['BNI'] = "BNI";
				$options['BRI'] = "BRI";
				$options['Mandiri'] = "Mandiri";
				echo form_dropdown('bank',$options,$value["bank"],'class="field select"');
				?>
			</p>
			</br>
			<p>
				<label>Pembayaran Via</label>
				<?
				unset($options);
				$options['Cash'] = "Cash";
				$options['Kartu Kredit'] = "Kartu Kredit";
				$options['Transfer'] = "Transfer";
				echo form_dropdown('pembayaran_via',$options,$value["pembayaran_via"],'class="field select"');
				?>
			</p>
			</br>
			<p>
				<label>Jumlah</label>
				<input id="nama" name="jumlah" type="text" value="<?=$value['jumlah']?>" tabindex="1" />
			</p>
			
			<p class="submit">
				<button id="registerButton" type="submit">Simpan</button>&nbsp;
				<button id="registerButton" type="reset">Reset</button>&nbsp;
				<button id="registerButton" TYPE="BUTTON" VALUE="Back" ONCLICK="window.location.href='<?=base_url()?>index.php/peserta/peserta'">Kembali</button>
			</p >

		</fieldset>
	</form> 
<?php
echo form_close();
?>
</div>